package main

import "fmt"

func reverseBits(num uint32) uint32 {
	var ans uint32 = 0
	for i := 0; i < 32; i++ {
		ans <<= 1
		ans += num & 1
		num >>= 1
	}
	return ans

}

func main() {
	var num uint32 = 43261596
	fmt.Println(num & 1)
	//b:=reverseBits(43261596)
	//fmt.Println(b)
}
